package za.ac.cput.ADP.conform.config;


import org.springframework.context.annotation.Bean;
import za.ac.cput.ADP.Conform.PostOffice.Impl.PostOfficeImp;
import za.ac.cput.ADP.Conform.PostOffice.PostOffice;
import za.ac.cput.ADP.conform.Client.Client;
import za.ac.cput.ADP.conform.Client.Impl.ClientImp;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author Oceanwave
 */
public class AppConfig 
{
    @Bean(name = "theOffice")
    public PostOffice provideThePostOffice() 
    {
        return new PostOfficeImp("XC14");
    }
    
    @Bean(name = "theClient")
    public Client provideTheClient() 
    {
        return new ClientImp("Travis","McKechnie");
    }
}
